<!DOCTYPE html>
<html lang="en">
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>客户列表</title>
    <link rel="stylesheet" href="lib/layui/css/layui.css">
</head>
<script type="text/html" id="barDemo">
    <input type="button" value="编辑" lay-event="upd"   class="layui-btn layui-btn-sm">
    <input type="button" value="删除" lay-event="del"  class="layui-btn layui-btn-sm layui-btn-danger">
</script>
<script type="text/html" id="bar">

</script>
<body>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>客户列表</legend>
</fieldset>

<form class="layui-form">
    <div class="layui-inline">
        <label class="layui-form-label">客户名称:</label>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input  style="width: auto;" value="" type="text" id="cusName" name="cusName" lay-verify="title"
                        autocomplete="off" placeholder="请输入客户名称" class="layui-input">
            </div>
        </div>

        <div class="layui-inline">
            <div class="layui-input-inline">
                <button type="button" class="layui-btn layui-btn-normal" id="find" data-type="reload" lay-submit=""lay-filter="find"><i class="layui-icon">&#xe615;</i></button>
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input value="添加客户" name="add" type="button" onclick="addCustomer()" class="layui-btn-normal layui-btn">
            </div>
        </div>
    </div>
</form>

<div class="layui-container" >
    <div class="layui-tab-item layui-show">
        <table class="layui-table" id="test" lay-filter="test">
        </table>
    </div>
</div>
<script type="text/javascript" src="lib/jsjquery-3.4.1.min.js"></script>
<script type="text/javascript" src="lib/layui/layui.js"></script>
<script type="text/javascript" src="lib/js/customer.js"></script>
</body>
</html>